home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000004_icon-group-sender _Mon Apr 27 12:42:24 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA29629
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 27 Apr 1998 12:42:18 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA08647; Mon, 27 Apr 1998 12:42:15 -0700
Date: Mon, 27 Apr 98 09:55:24 PDT
Message-Id: <9804271655.AA02872@bermuda.synopsys.com>
From: Shamim Mohamed <shamim@Synopsys.COM>
To: Gregg Townsend <gmt@baskerville.CS.Arizona.EDU>
Cc: dpfj@globalnet.co.uk, icon-group@baskerville.CS.Arizona.EDU
Subject: Re: Using icon pipe features
In-Reply-To: <9804242014.AA14229@hawk.CS.Arizona.EDU>
References: <9804242014.AA14229@hawk.CS.Arizona.EDU>
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 548
[plug follows]
Gregg writes:
> Most Unix utilities will buffer their output if it's connected to a
> pipe. That means that even if you were able to open a two-way pipe to
> something like "sed", you wouldn't be able to just write it a line and
> then read the filtered result.
One way (the right way?) to do this is by forking and having one copy write
to sed and the other reading the output. Support for all this is in Unicon;
an example (an implementation of script(1)) is in the documentation:
http://www.drones.com/unicon/
-s